#ifndef DISPLAY_H
#define DISPLAY_H

#include <QDialog>
#include <QtSql>
namespace Ui {
class display;
}

class display : public QDialog
{
    Q_OBJECT

public:
    explicit display(QWidget *parent = 0);
    ~display();
    void set_type(int a);

private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

private:
    Ui::display *ui;
    int type;//0:student;1:teacher;2:course
};

#endif // DISPLAY_H
